]> dgit.raspbian.org Git - gnome-shell.git/commit
lightbox: Show the actor before easing it
authorMarco Trevisan (Treviño) <mail@3v1n0.net>
Thu, 3 Oct 2019 13:13:21 +0000 (15:13 +0200)
committerMarco Trevisan (Treviño) <mail@3v1n0.net>
Thu, 3 Oct 2019 13:26:13 +0000 (15:26 +0200)
commit92c0171aeb38e4ada0e32c948d074908c8d119f2
treec33a7fa1ae371e0ecd666a73f6be2b23e5493c17
parent6a6d66486d3326457260f8d1e4b9937d9396c7c6
lightbox: Show the actor before easing it

As per clutter optimizations in should_skip_implicit_transition() any
transition will be ignored if applied to an actor with unmapped clones.

Since we initialize the lightbox as hidden, when we use it standalone (as it
happens for the long fade in screenShield) the transition will be ignored.
This causes the lockscreen fade-out after the idle delay not to work, but
instead to have an apparently locked system that is instead not locked at
all.

So, just ensure that the lightbox actor is visible before applying to it any
transition.

Fixes https://gitlab.gnome.org/GNOME/gnome-shell/issues/1683
js/ui/lightbox.js